<?php

class User_SignupController extends Koncept_Rest_Resource_Controller
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
        $signupForm = new User_Form_Signup();
        $this->view->signupForm = $signupForm;
        $this->view->pageTitle = 'Sign up!';
        $this->view->bodyTitle = 'Sign up';
    }

    public function postAction()
    {
        echo $contactForm->isValid($_POST);
    }

}

